/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 直播域名操作类接口
 * Openapi For JCLOUD cdn
 *
 * OpenAPI spec version: v1
 * Contact: pid-cdn@jd.com
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Cdn.Model;

namespace  JDCloudSDK.Cdn.Apis
{

    /// <summary>
    ///  查询直播域名详情v1
    /// </summary>
    public class QueryLiveDomainDetailResult : JdcloudResult
    {
        ///<summary>
        /// 域名类型
        ///</summary>
        public   string DomainType{ get; set; }
        ///<summary>
        /// 播放域名
        ///</summary>
        public   string PlayDomain{ get; set; }
        ///<summary>
        /// 推流域名
        ///</summary>
        public   string PublishDomain{ get; set; }
        ///<summary>
        /// 回源域名
        ///</summary>
        public   string OriginDomain{ get; set; }
        ///<summary>
        /// 创建时间
        ///</summary>
        public   string CreatedTime{ get; set; }
        ///<summary>
        /// cname
        ///</summary>
        public   string Cname{ get; set; }
        ///<summary>
        /// 站点类型推流push，拉流pull
        ///</summary>
        public   string SiteType{ get; set; }
        ///<summary>
        /// 域名状态
        ///</summary>
        public   string Status{ get; set; }
        ///<summary>
        /// 回源信息
        ///</summary>
        public   BackSourceInfo Source{ get; set; }
        ///<summary>
        /// 域名回源类型
        ///</summary>
        public   string SourceType{ get; set; }
        ///<summary>
        /// 回源类型目前只能未rtmp
        ///</summary>
        public   string BackSourceType{ get; set; }
        ///<summary>
        /// 视频格式 H.264
        ///</summary>
        public   string VideoType{ get; set; }
        ///<summary>
        /// 音频格式AAC
        ///</summary>
        public   string AudioType{ get; set; }
        ///<summary>
        /// 域名类型
        ///</summary>
        public   string Type{ get; set; }
        ///<summary>
        /// 默认回源host
        ///</summary>
        public   string DefaultSourceHost{ get; set; }
        ///<summary>
        /// 备案号
        ///</summary>
        public   string ArchiveNo{ get; set; }
        ///<summary>
        /// rtmpDomain
        ///</summary>
        public   string RtmpDomain{ get; set; }
        ///<summary>
        /// rtmpCname
        ///</summary>
        public   string RtmpCname{ get; set; }
        ///<summary>
        /// hdlDomain
        ///</summary>
        public   string HdlDomain{ get; set; }
        ///<summary>
        /// hdlCname
        ///</summary>
        public   string HdlCname{ get; set; }
        ///<summary>
        /// hlsDomain
        ///</summary>
        public   string HlsDomain{ get; set; }
        ///<summary>
        /// hlsCname
        ///</summary>
        public   string HlsCname{ get; set; }
        ///<summary>
        /// forwardCustomVhost
        ///</summary>
        public   string ForwardCustomVhost{ get; set; }
        ///<summary>
        /// flvUrls
        ///</summary>
        public List<string> FlvUrls{ get; set; }

        ///<summary>
        /// hlsUrls
        ///</summary>
        public List<string> HlsUrls{ get; set; }

        ///<summary>
        /// rtmpUrls
        ///</summary>
        public List<string> RtmpUrls{ get; set; }

        ///<summary>
        /// 转协议
        ///</summary>
        public List<ProtocolConvert> ProtocolConverts{ get; set; }

        ///<summary>
        /// https证书
        ///</summary>
        public   string Certificate{ get; set; }
        ///<summary>
        /// https私钥
        ///</summary>
        public   string RsaKey{ get; set; }
        ///<summary>
        /// url鉴权开关
        ///</summary>
        public   int? AccesskeyType{ get; set; }
        ///<summary>
        /// url鉴权key
        ///</summary>
        public   string AccesskeyKey{ get; set; }
        ///<summary>
        /// playAuthLifeTime
        ///</summary>
        public   int? PlayAuthLifeTime{ get; set; }
        ///<summary>
        /// authLifeTime
        ///</summary>
        public   int? AuthLifeTime{ get; set; }
        ///<summary>
        /// 转推鉴权开关
        ///</summary>
        public   int? ForwardAccessKeyType{ get; set; }
        ///<summary>
        /// 转推鉴权key
        ///</summary>
        public   string ForwardPrivateKey{ get; set; }
        ///<summary>
        /// 回源鉴权开关
        ///</summary>
        public   int? OriginAccessKeyType{ get; set; }
        ///<summary>
        /// 回源鉴权key
        ///</summary>
        public   string OriginPrivateKey{ get; set; }
        ///<summary>
        /// app列表
        ///</summary>
        public List<string> AllowApps{ get; set; }

        ///<summary>
        /// ip黑名单列表
        ///</summary>
        public List<string> Ips{ get; set; }

        ///<summary>
        /// 是否开启ip黑名单
        ///</summary>
        public   string BlackIpsEnable{ get; set; }
        ///<summary>
        /// 外部关联id
        ///</summary>
        public   string ExternId{ get; set; }
        ///<summary>
        /// ignoreQueryString
        ///</summary>
        public   string IgnoreQueryString{ get; set; }
        ///<summary>
        /// referType
        ///</summary>
        public   string ReferType{ get; set; }
        ///<summary>
        /// referList
        ///</summary>
        public List<string> ReferList{ get; set; }

        ///<summary>
        /// 允许无refer
        ///</summary>
        public   string AllowNoReferHeader{ get; set; }
        ///<summary>
        /// 允许空refer
        ///</summary>
        public   string AllowNullReferHeader{ get; set; }
        ///<summary>
        /// 推流中断超时时间(单位秒)
        ///</summary>
        public   string PublishNormalTimeout{ get; set; }
        ///<summary>
        /// 推断流通知Url
        ///</summary>
        public   string NotifyCustomUrl{ get; set; }
        ///<summary>
        /// 推断流通知key
        ///</summary>
        public   string NotifyCustomAuthKey{ get; set; }
        ///<summary>
        /// 证书来源有两种类型：default,ssl
        ///</summary>
        public   string CertFrom{ get; set; }
        ///<summary>
        /// ssl证书id
        ///</summary>
        public   string SslCertId{ get; set; }
        ///<summary>
        /// 证书名称
        ///</summary>
        public   string CertName{ get; set; }
        ///<summary>
        /// 证书类型
        ///</summary>
        public   string CertType{ get; set; }
        ///<summary>
        /// SslCertStartTime
        ///</summary>
        public   string SslCertStartTime{ get; set; }
        ///<summary>
        /// SslCertEndTime
        ///</summary>
        public   string SslCertEndTime{ get; set; }
        ///<summary>
        /// AccelerateRegion
        ///</summary>
        public   string AccelerateRegion{ get; set; }
    }
}